import logging

def logger():
    logger = logging.getLogger()
    logger.ba
    logging.basicConfig(filename='server.log', format="%(asctime)s - %(message)s")
    return